<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\11\28 0028
 * Time: 9:11
 */
require_once "MongoModel.php";

$mongo_client = new MongoModel();

$filter = ['id' => 2];
$options = [
    'limit' => 1,
];
$namespace = "swoole.ids";
$mongo_client->delete($filter, $options, $namespace);